import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

// 引入 Element Plus 及其中文语言包
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

// createApp(App).use(router).use(ElementPlus).mount('#app')
createApp(App)
    .use(router)
    .use(ElementPlus, { locale: zhCn }) // ✅ 设置中文
    .mount('#app')
